package org.deng.learn.designpattern.abstractfactory;

/**
 * @author DengLibin
 * @Description 抽象工厂
 * @Date 2019/2/12 0012 14:40
 */
public abstract  class AbstractFactory {
    /**
     * 创建颜色
     * @param colorName
     * @return
     */
    abstract Color getColor(ColorName colorName);

    /**
     * 创建形状
     * @param shapeName
     * @return
     */
    abstract Shape getShape(ShapeName shapeName);
}
